package com.example.service.webhook.business.qq.entity;

import com.example.service.webhook.repository.base.Saveable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.Date;

/**
 * Created by zouwanli on 16/5/15.
 */
@JsonIgnoreProperties(value = { "primaryVal", "keyColumns", "tableName" }, ignoreUnknown = true)
public class QQUserInfoEntity  implements Saveable {
	
    private long id;
    private String userId;
	private String qqNum;
    private boolean isFamous;
    private boolean famousCustomHomepage;
    private String  nickName;
    private String spaceName;
    private String desciption;
    private String signature;
    private int    sexType;
    private int    sex;
    private int    animalsignType;
    private int    constellationType;
    private int    constellation;
    private int    ageType;
    private int    age;
    private int    islunar;
    private int    birthdayType;
    private int    birthYear;
    private String birthday;
    private int    bloodType;
    private int    addressType;
    private String country;
    private String province;
    private String city;
    private int    homeType;
    private String homeCountry;
    private String homeProvince;
    private String homeCity;
    private int    marriage;
    private String lover;
    private String career;
    private String company;
    private String companyContry;
    private String companyProvince;
    private String companyCity;
    private String companyDetailAddress;
    private String mailname;
    private String mailcellphone;
    private String mailaddr;
    private long   ptimestamp;
    private Date   createTime;
	private Date lastModifyTime;

	private long uuid;
    private static final String[] keyColumns       = { "id" };
    private static final String   tableName        = "t_qq_userinfo";

    @Override
    public String getTableName() {
        return tableName;
    }

    @Override
    public String[] getKeyColumns() {
        return keyColumns;
    }
    
    @Override
    public String getPrimaryVal() {
        return String.valueOf(id);
    }

   

    public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getQqNum() {
        return qqNum;
    }

    public void setQqNum(String qqNum) {
        this.qqNum = qqNum;
    }

    public boolean isFamous() {
        return isFamous;
    }

    public void setFamous(boolean famous) {
        isFamous = famous;
    }

    public boolean isFamousCustomHomepage() {
        return famousCustomHomepage;
    }

    public void setFamousCustomHomepage(boolean famousCustomHomepage) {
        this.famousCustomHomepage = famousCustomHomepage;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getSpaceName() {
        return spaceName;
    }

    public void setSpaceName(String spaceName) {
        this.spaceName = spaceName;
    }

    public String getDesciption() {
        return desciption;
    }

    public void setDesciption(String desciption) {
        this.desciption = desciption;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public int getSexType() {
        return sexType;
    }

    public void setSexType(int sexType) {
        this.sexType = sexType;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getAnimalsignType() {
        return animalsignType;
    }

    public void setAnimalsignType(int animalsignType) {
        this.animalsignType = animalsignType;
    }

    public int getConstellationType() {
        return constellationType;
    }

    public void setConstellationType(int constellationType) {
        this.constellationType = constellationType;
    }

    public int getConstellation() {
        return constellation;
    }

    public void setConstellation(int constellation) {
        this.constellation = constellation;
    }

    public int getAgeType() {
        return ageType;
    }

    public void setAgeType(int ageType) {
        this.ageType = ageType;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getIslunar() {
        return islunar;
    }

    public void setIslunar(int islunar) {
        this.islunar = islunar;
    }

    public int getBirthdayType() {
        return birthdayType;
    }

    public void setBirthdayType(int birthdayType) {
        this.birthdayType = birthdayType;
    }

    public int getBirthYear() {
        return birthYear;
    }

    public void setBirthYear(int birthYear) {
        this.birthYear = birthYear;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getBloodType() {
        return bloodType;
    }

    public void setBloodType(int bloodType) {
        this.bloodType = bloodType;
    }

    public int getAddressType() {
        return addressType;
    }

    public void setAddressType(int addressType) {
        this.addressType = addressType;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public int getHomeType() {
        return homeType;
    }

    public void setHomeType(int homeType) {
        this.homeType = homeType;
    }

    public String getHomeCountry() {
        return homeCountry;
    }

    public void setHomeCountry(String homeCountry) {
        this.homeCountry = homeCountry;
    }

    public String getHomeProvince() {
        return homeProvince;
    }

    public void setHomeProvince(String homeProvince) {
        this.homeProvince = homeProvince;
    }

    public String getHomeCity() {
        return homeCity;
    }

    public void setHomeCity(String homeCity) {
        this.homeCity = homeCity;
    }

    public int getMarriage() {
        return marriage;
    }

    public void setMarriage(int marriage) {
        this.marriage = marriage;
    }

    public String getLover() {
        return lover;
    }

    public void setLover(String lover) {
        this.lover = lover;
    }

    public String getCareer() {
        return career;
    }

    public void setCareer(String career) {
        this.career = career;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getCompanyContry() {
        return companyContry;
    }

    public void setCompanyContry(String companyContry) {
        this.companyContry = companyContry;
    }

    public String getCompanyProvince() {
        return companyProvince;
    }

    public void setCompanyProvince(String companyProvince) {
        this.companyProvince = companyProvince;
    }

    public String getCompanyCity() {
        return companyCity;
    }

    public void setCompanyCity(String companyCity) {
        this.companyCity = companyCity;
    }

    public String getCompanyDetailAddress() {
        return companyDetailAddress;
    }

    public void setCompanyDetailAddress(String companyDetailAddress) {
        this.companyDetailAddress = companyDetailAddress;
    }

    public String getMailname() {
        return mailname;
    }

    public void setMailname(String mailname) {
        this.mailname = mailname;
    }

    public String getMailcellphone() {
        return mailcellphone;
    }

    public void setMailcellphone(String mailcellphone) {
        this.mailcellphone = mailcellphone;
    }

    public String getMailaddr() {
        return mailaddr;
    }

    public void setMailaddr(String mailaddr) {
        this.mailaddr = mailaddr;
    }

    public long getPtimestamp() {
        return ptimestamp;
    }

    public void setPtimestamp(long ptimestamp) {
        this.ptimestamp = ptimestamp;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

    public long getUuid() {
        return uuid;
    }

    public void setUuid(long uuid) {
        this.uuid = uuid;
    }
}
